-
Notifications
You must be signed in to change notification settings - Fork 974
Recommended bolus for Trio #466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
| @State private var statusMessage: String? = nil | ||
|
|
||
| private let pushNotificationManager = PushNotificationManager() | ||
| private let minDeliverableU: Double = 0.05 // hides negative/zero/tiny recs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be renamed to minDeliverableUnit for improved readability
|
It does not really make sense to display a bolus value that the pump cannot administer (0.96 U in your example for what I presume is a pod user on Trio). The overall bolus seems to have 3 decimals; bolus dosages are usually rounded up to 2 decimals in allowed increments. Where is this recommended value coming from on the Trio side? |
|
LoopFollow currently does not know what pump is used, and therefore not what increments used. I plan to introduce a setting for it. I believe it can be fetched from Loop. |

Trio Remote Control: Recommended Bolus on Bolus Screen
This PR adds a flow for using the Recommended Bolus in the Trio Remote Control bolus view.
What’s included
Why
Make it quick to use a safe, recent recommendation—and avoid nudging users toward stale or invalid values.